﻿using Sheep_Breeding.Domain;
using Sheep_Breeding.ErrorCode;
using Sheep_Breeding.Read.Api.DTOSheep;

namespace Sheep_Breeding.Read.Api.OperationServices.IServices
{
    /// <summary>
    /// 羊场管理实现接口
    /// </summary>
    public interface ISheepfarmServices
    {
        /// <summary>
        /// 获取羊场规模数据
        /// </summary>
        /// <returns></returns>
        Task<ApiResult<List<Thescalethsheepfarm>>> SearchSheepFiles();

        /// <summary>
        /// 获取羊场管理数据
        /// </summary>
        /// <returns></returns>
        Task<ApiPaging<List<Sheepfarm_managementDto>>> SearchSheepfarm_management(SearchSheepfarm_managementQueryDto dto);

        /// <summary>
        /// 查找栋舍类型
        /// </summary>
        /// <returns></returns>
        Task<ApiResult<List<House_typeInfo>>> SearchHouse_typeInfo();

        /// <summary>
        /// 查找栋舍管理信息
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<ApiPaging<List<SearchforbuildinginfoDto>>> SearchBuildingManagement(SearchBuildingManagementDto dto);

        /// <summary>
        /// 根据栋舍Id查找栏位管理信息
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<ApiPaging<List<Field_management>>> SearchField_management(SearchField_managementDto dto);
    }
}
